﻿using System.Collections.Generic;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;
using MyMES.Services.WarehouseManagement.Codings.DTOs;

namespace MyMES.IServices.WarehouseManagement.Codings
{
    public interface ICodingService
    {
        /// <summary>
        /// 获取条码管理列表
        /// </summary>
        Task<BarcodeDTO> GetBarcodeListAsync(BarcodeDTO queryDTO);

        /// <summary>
        /// 更新条码信息
        /// </summary>
        Task<bool> UpdateBarcodeAsync(BarcodeManagement barcode);

        /// <summary>
        /// 获取条码类型列表
        /// </summary>
        List<KeyValuePair<string, string>> GetBarcodeTypes();
    }
}